3.160 \(\int \frac {(d x)^{-1+n}}{\log ^2(c x^n)} \, dx\)

Optimal. Leaf size=49 \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{c n}-\frac {(d x)^n}{d n \log \left (c x^n\right )} \]

[Out]

x^(1-n)*(d*x)^(-1+n)*Li(c*x^n)/c/n-(d*x)^n/d/n/ln(c*x^n)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2306, 2308, 2307, 2298} \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{c n}-\frac {(d x)^n}{d n \log \left (c x^n\right )} \]

Antiderivative was successfully verified.

[In]

Int[(d*x)^(-1 + n)/Log[c*x^n]^2,x]

[Out]

-((d*x)^n/(d*n*Log[c*x^n])) + (x^(1 - n)*(d*x)^(-1 + n)*LogIntegral[c*x^n])/(c*n)

Rule 2298

Int[Log[(c_.)*(x_)]^(-1), x_Symbol] :> Simp[LogIntegral[c*x]/c, x] /; FreeQ[c, x]

Rule 2306

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log
[c*x^n])^(p + 1))/(b*d*n*(p + 1)), x] - Dist[(m + 1)/(b*n*(p + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p + 1), x]
, x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && LtQ[p, -1]

Rule 2307

Int[(x_)^(m_.)/Log[(c_.)*(x_)^(n_)], x_Symbol] :> Dist[1/n, Subst[Int[1/Log[c*x], x], x, x^n], x] /; FreeQ[{c,
 m, n}, x] && EqQ[m, n - 1]

Rule 2308

Int[((d_)*(x_))^(m_.)/Log[(c_.)*(x_)^(n_)], x_Symbol] :> Dist[(d*x)^m/x^m, Int[x^m/Log[c*x^n], x], x] /; FreeQ
[{c, d, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin {align*} \int \frac {(d x)^{-1+n}}{\log ^2\left (c x^n\right )} \, dx &=-\frac {(d x)^n}{d n \log \left (c x^n\right )}+\int \frac {(d x)^{-1+n}}{\log \left (c x^n\right )} \, dx\\ &=-\frac {(d x)^n}{d n \log \left (c x^n\right )}+\left (x^{1-n} (d x)^{-1+n}\right ) \int \frac {x^{-1+n}}{\log \left (c x^n\right )} \, dx\\ &=-\frac {(d x)^n}{d n \log \left (c x^n\right )}+\frac {\left (x^{1-n} (d x)^{-1+n}\right ) \operatorname {Subst}\left (\int \frac {1}{\log (c x)} \, dx,x,x^n\right )}{n}\\ &=-\frac {(d x)^n}{d n \log \left (c x^n\right )}+\frac {x^{1-n} (d x)^{-1+n} \text {li}\left (c x^n\right )}{c n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 49, normalized size = 1.00 \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{c n}-\frac {x (d x)^{n-1}}{n \log \left (c x^n\right )} \]

Antiderivative was successfully verified.

[In]

Integrate[(d*x)^(-1 + n)/Log[c*x^n]^2,x]

[Out]

-((x*(d*x)^(-1 + n))/(n*Log[c*x^n])) + (x^(1 - n)*(d*x)^(-1 + n)*LogIntegral[c*x^n])/(c*n)

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 50, normalized size = 1.02 \[ -\frac {d^{n - 1} x^{n} - \frac {{\left (n \log \relax (x) + \log \relax (c)\right )} d^{n - 1} {\rm Ei}\left (n \log \relax (x) + \log \relax (c)\right )}{c}}{n^{2} \log \relax (x) + n \log \relax (c)} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n)^2,x, algorithm="fricas")

[Out]

-(d^(n - 1)*x^n - (n*log(x) + log(c))*d^(n - 1)*Ei(n*log(x) + log(c))/c)/(n^2*log(x) + n*log(c))

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log \left (c x^{n}\right )^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n)^2,x, algorithm="giac")

[Out]

integrate((d*x)^(n - 1)/log(c*x^n)^2, x)

________________________________________________________________________________________

maple [F]  time = 1.84, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x \right )^{n -1}}{\ln \left (c \,x^{n}\right )^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^(n-1)/ln(c*x^n)^2,x)

[Out]

int((d*x)^(n-1)/ln(c*x^n)^2,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ d^{n} \int \frac {x^{n}}{d x \log \relax (c) + d x \log \left (x^{n}\right )}\,{d x} - \frac {d^{n} x^{n}}{d n \log \relax (c) + d n \log \left (x^{n}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n)^2,x, algorithm="maxima")

[Out]

d^n*integrate(x^n/(d*x*log(c) + d*x*log(x^n)), x) - d^n*x^n/(d*n*log(c) + d*n*log(x^n))

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (d\,x\right )}^{n-1}}{{\ln \left (c\,x^n\right )}^2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^(n - 1)/log(c*x^n)^2,x)

[Out]

int((d*x)^(n - 1)/log(c*x^n)^2, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log {\left (c x^{n} \right )}^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)**(-1+n)/ln(c*x**n)**2,x)

[Out]

Integral((d*x)**(n - 1)/log(c*x**n)**2, x)

________________________________________________________________________________________